
<%@ page import="union.CompetenciasContrato" %>
<!DOCTYPE html>
<html>
	<head>
		<meta name="layout" content="main">
		<g:set var="entityName" value="${message(code: 'competenciasContrato.label', default: 'CompetenciasContrato')}" />
		<title><g:message code="default.list.label" args="[entityName]" /></title>
	</head>
	<body>
		<div class="nav" role="navigation">
		
	<ul class="nav nav-pills">
		<g:permissao devePossuir="true" controles="competenciasContrato" acoes="list">
			<li class="active">
				<g:link class="list" action="list">
					<i class="icon-list-alt"></i>
					<g:message code="default.list.label" args="[entityName]" />
				</g:link>
			</li>
		</g:permissao>
		<li class="divider-vertical"></li>
		<g:permissao devePossuir="true" controles="competenciasContrato" acoes="list">
			<li>
				<g:link action="create">
					<i class="icon-file"></i>
					<g:message code="default.add.label" args="[entityName]" />
				</g:link>
			</li>
		</g:permissao>
	</ul>


		</div>
		<div id="list-competenciasContrato" class="content scaffold-list" role="main">
			<legend><g:message code="default.list.label" args="[entityName]" /></legend>
			<mensagem:renderizar mensagem="${flash}" />
			
			
			
			
	<table class="table table-hover table-condensed table-striped table-blue">
		<thead>
				<tr>
					<th></th>
					<th></th>
					
						<th><g:message code="competenciasContrato.competencia.label" default="Competencia" /></th>
					
						<th><g:message code="competenciasContrato.contrato.label" default="Contrato" /></th>
					
						<g:sortableColumn property="resultado" title="${message(code: 'competenciasContrato.resultado.label', default: 'Resultado')}" />
					
					</tr>
		
		</thead>
		
		<tbody>
						
			
				<g:each in="${competenciasContratoInstanceList}" status="i" var="competenciasContratoInstance">
					<tr class="${(i % 2) == 0 ? 'even' : 'odd'}">
					
						<td><g:link action="show" id="${competenciasContratoInstance.id}"><i class="icon-eye-open"></i></g:link></td>
						<td><g:link action="edit" id="${competenciasContratoInstance.id}"><i class="icon-edit"></i></g:link></td>
						<td><g:link action="show" id="${competenciasContratoInstance.id}">${fieldValue(bean: competenciasContratoInstance, field: "competencia")}</g:link></td>
					
						<td>${fieldValue(bean: competenciasContratoInstance, field: "contrato")}</td>
					
						<td>${fieldValue(bean: competenciasContratoInstance, field: "resultado")}</td>
					
					</tr>
				</g:each>
		</tbody>
	</table>

			<div class="paginationGrails">
				<g:paginate total="${competenciasContratoInstanceTotal}" />
			</div>
			
		</div>
	</body>
</html>
